﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="BiddenFloorsControl.ascx.cs" Inherits="BiddenFloorsControl" %>
<div style="text-align:right; padding-top: 5px; padding-bottom: 5px;">
    <asp:LinkButton ID="btnAll" runat="server" CssClass="ProName" OnClick="btnAll_Click">Tất cả</asp:LinkButton>
    <span>&nbsp;|&nbsp;</span>
    <asp:LinkButton ID="btnInMonth" runat="server" CssClass="ProName" OnClick="btnInMonth_Click">Trong vòng 1 tháng</asp:LinkButton>
</div>
<br />
<asp:Label ID="lblRs" runat="server" Text='<div align="center"><br/><br/>Không có sàn nào !!!<br/><br/><br/></div>'></asp:Label>
<asp:DataList ID="dlFloors" runat="server" RepeatColumns="2" RepeatDirection="Horizontal"
    Width="100%" CellSpacing="1">
    <ItemTemplate>
        <table align="center" border="0" cellpadding="3" cellspacing="0" style="width: 270px;
            border-right: #ccc 1px dotted; border-top: #ccc 1px dotted; border-left: #ccc 1px dotted;
            border-bottom: #ccc 1px dotted;">
            <tr>
                <td align="center">
                    <asp:HyperLink ID="HyperLink1" runat="server" ImageUrl='<%# "imgs/floors/" + Eval("ProID") + "/main_thumbs.jpg" %>'
                        NavigateUrl='<%# "floordetails.aspx?proId=" + Eval("ProID") %>' Target="_blank"
                        Text='<%# Eval("ProName") %>'></asp:HyperLink></td>
            </tr>
            <tr>
                <td style="padding-left: 5px">
                    Tên: <strong>
                        <asp:HyperLink ID="HyperLink3" runat="server" CssClass="ProName" NavigateUrl='<%# "floordetails.aspx?proId=" + Eval("ProID") %>'
                            Target="_blank" Text='<%# Eval("ProName") %>'></asp:HyperLink></strong></td>
            </tr>
            <tr>
                <td style="padding-left: 5px">
                    Giá hiện thời:
                    <asp:Label ID="Label1" runat="server" CssClass="Verdana10RedBold" Text='<%# string.Format("{0:c0}", Eval("CurBid")) %>'></asp:Label></td>
            </tr>
            <tr>
                <td style="padding-left: 5px">
                    Giá cao nhất của bạn:
                    <asp:Label ID="Label3" runat="server" CssClass="Verdana10RedBold" Text='<%# string.Format("{0:c0}", Eval("UserHighestBid")) %>'></asp:Label></td>
            </tr>
            <tr>
                <td style="padding-left: 5px">
                    Dự kiến kết thúc:
                    <asp:Label ID="Label4" runat="server" Text='<%# Eval("EFD") %>'></asp:Label></td>
            </tr>
        </table>
    </ItemTemplate>
</asp:DataList>
<table border="0" cellpadding="5" cellspacing="0" style="width: 100%">
    <tr>
        <td style="width: 32px; height: 32px">
            <asp:ImageButton ID="btnPrev" runat="server" ImageUrl="~/imgs/Prev.jpg"
                ToolTip="Trang trước" OnClick="btnPrev_Click" /></td>
        <td align="center">
            <asp:Label ID="lblPrefix" runat="server" CssClass="Verdana10OrangeBold" Text="Trang: "></asp:Label>
            <asp:Label ID="lblCurPage" runat="server" CssClass="Verdana10OrangeBold" Text="1"></asp:Label>
            <asp:Label ID="lblSuffix" runat="server" CssClass="Verdana10OrangeBold" Text="/"></asp:Label>
            <asp:Label ID="lblPages" runat="server" CssClass="Verdana10OrangeBold">0</asp:Label>
        </td>
        <td style="width: 32px; height: 32px">
            <asp:ImageButton ID="btnNext" runat="server" ImageUrl="~/imgs/Next.jpg"
                ToolTip="Trang sau" OnClick="btnNext_Click" /></td>
    </tr>
</table>